package com.xiejr.actuator.socket;


import com.xiejr.actuator.exceptioin.SocketActuatorException;
import com.xiejr.actuator.socket.abstracts.CommonWebsocketHelper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import javax.websocket.Session;
import javax.websocket.server.ServerEndpoint;

/**
 * @program: socket-actuator-spring-boot-starter
 * @description: websocket配置类
 * @author: xjr
 * @create: 2020-06-18 15:31
 **/
@ServerEndpoint(value = "/device-socket")
@Component("actuator-socket")
@Slf4j
public class DeviceWebSocket extends CommonWebsocketHelper {


    @Override
    public void open(Session session) throws SocketActuatorException {

    }
}
